package com.example.springboot.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "record_number_people")
public class RecordNumberPeople {

    @TableId(type= IdType.AUTO)
    private Integer id;
    //年份
    private Integer age;
    //男女
    private String gender;
    //人数
    private Long numberPeople;

    private Long survival;

    private Long death;
    //故事
    private String story;
    //省份
    private String province;

    @TableField(exist = false)
    private Long number;
}
